home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swagd_f.zip
/
EGAVGA.SWG
/
0062_Clear Screen in Mode $13.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-11-02
|
341b
|
21 lines
{
WILLIAM MCBRINE
> I am looking For a Procedure to clear a screen in mode $13. Writing
> black pixels to each position isn't quite fast enough!
This assumes that color 0 is black.
}
Procedure clearmode13; Assembler;
Asm
cld
mov ax, $A000
mov es, ax
xor di, di
xor ah, ah
mov cx, 32000
rep stosw
end;